package net.yegong.matrix;


/**
 * @author cooper
 */
public class MatrixFactory {
    
    public static SymmetricMatrix identity(int order){
        SymmetricMatrix ret = new SymmetricMatrix(order);
        for (int i=0; i<order; ++i){
            ret.set(i, i, 1);
        }
        return ret;
    }
}
